<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxJointLimit.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('PxJointLimit_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PxJointLimit.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="PxJointLimit_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// are met:</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  * Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//    documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">//    contributors may be used to endorse or promote products derived</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//    from this software without specific prior written permission.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS &#39;&#39;AS IS&#39;&#39; AND ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// Copyright (c) 2008-2021 NVIDIA Corporation. All rights reserved.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.  </span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef PX_EXTENSIONS_JOINT_LIMIT</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define PX_EXTENSIONS_JOINT_LIMIT</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxMath_8h.html">foundation/PxMath.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxTolerancesScale_8h.html">common/PxTolerancesScale.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxJoint_8h.html">extensions/PxJoint.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxPhysXConfig_8h.html">PxPhysXConfig.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacephysx.html">physx</a></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;{</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html">   52</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxJointLimitParameters.html">PxJointLimitParameters</a></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;{</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">//= ATTENTION! =====================================================================================</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">// accordingly.</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">//==================================================================================================</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#acf208a0f1e54fb8e9219af1e0357d4a9">   80</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitParameters.html#acf208a0f1e54fb8e9219af1e0357d4a9">restitution</a>;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#a82e6ed96bd05d01b7459d8200f16df9f">   85</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitParameters.html#a82e6ed96bd05d01b7459d8200f16df9f">bounceThreshold</a>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#a7431e7b65a92dd7fafc386c6a159a22c">   93</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitParameters.html#a7431e7b65a92dd7fafc386c6a159a22c">stiffness</a>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#aac6d185cfc3adea24cdb943cf893beac">  101</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitParameters.html#aac6d185cfc3adea24cdb943cf893beac">damping</a>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">  118</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">contactDistance</a>;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#ab706ebb59cf473d1537741edfab2c387">  120</a></span>&#160;    <a class="code" href="classPxJointLimitParameters.html#ab706ebb59cf473d1537741edfab2c387">PxJointLimitParameters</a>() :</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a18b2ce476648ae63ac21250c88cb0189">restitution</a>     (0.0f),</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        bounceThreshold (0.0f),</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a>       (0.0f),</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a>         (0.0f),</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        contactDistance (0.0f)</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    {</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    }</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    </div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#a055ad82eede514226e33be0e1a72f87c">  129</a></span>&#160;    <a class="code" href="classPxJointLimitParameters.html#a055ad82eede514226e33be0e1a72f87c">PxJointLimitParameters</a>(<span class="keyword">const</span> <a class="code" href="classPxJointLimitParameters.html">PxJointLimitParameters</a>&amp; p) :</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a18b2ce476648ae63ac21250c88cb0189">restitution</a>     (p.<a class="code" href="PxConstraintDesc_8h.html#a18b2ce476648ae63ac21250c88cb0189">restitution</a>),</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        bounceThreshold (p.bounceThreshold),</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a>       (p.<a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a>),</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a>         (p.<a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a>),</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        contactDistance (p.contactDistance)</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    {</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    }   </div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#a8186c20e07fa7f1e06529dce77e06123">  143</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="classPxJointLimitParameters.html#a8186c20e07fa7f1e06529dce77e06123">isValid</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keywordflow">return</span>  <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(<a class="code" href="PxConstraintDesc_8h.html#a18b2ce476648ae63ac21250c88cb0189">restitution</a>) &amp;&amp; <a class="code" href="PxConstraintDesc_8h.html#a18b2ce476648ae63ac21250c88cb0189">restitution</a> &gt;= 0 &amp;&amp; <a class="code" href="PxConstraintDesc_8h.html#a18b2ce476648ae63ac21250c88cb0189">restitution</a> &lt;= 1 &amp;&amp; </div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(<a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a>) &amp;&amp; <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a> &gt;= 0 &amp;&amp; </div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(<a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a>) &amp;&amp; <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a> &gt;= 0 &amp;&amp;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;                <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(bounceThreshold) &amp;&amp; bounceThreshold &gt;= 0 &amp;&amp;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;                <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(contactDistance) &amp;&amp; contactDistance &gt;= 0;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    }</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#af340f6b7f344746a21834fca6ba6eb46">  152</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="classPxJointLimitParameters.html#af340f6b7f344746a21834fca6ba6eb46">isSoft</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a>&gt;0 || <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a>&gt;0;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    }</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classPxJointLimitParameters.html#af68daaa7495377cabc01d27d3c2e864e">  158</a></span>&#160;    <a class="code" href="classPxJointLimitParameters.html#af68daaa7495377cabc01d27d3c2e864e">~PxJointLimitParameters</a>() {}</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;};</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classPxJointLinearLimit.html">  165</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxJointLinearLimit.html">PxJointLinearLimit</a> : <span class="keyword">public</span> <a class="code" href="classPxJointLimitParameters.html">PxJointLimitParameters</a></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;{</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment">//= ATTENTION! =====================================================================================</span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span></div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span></div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment">// accordingly.</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">//==================================================================================================</span></div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="classPxJointLinearLimit.html#aa433e50f27f94ca7191b1251e45f7ed6">  180</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLinearLimit.html#aa433e50f27f94ca7191b1251e45f7ed6">value</a>;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classPxJointLinearLimit.html#a84aaf9ff6f11ab92790a6081feced4dc">  191</a></span>&#160;    <a class="code" href="classPxJointLinearLimit.html#a84aaf9ff6f11ab92790a6081feced4dc">PxJointLinearLimit</a>(<span class="keyword">const</span> <a class="code" href="classPxTolerancesScale.html">PxTolerancesScale</a>&amp; scale, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> extent, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> contactDist = -1.0f)</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    : value(extent)</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    {</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <a class="code" href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">PxJointLimitParameters::contactDistance</a> = contactDist == -1.0f ? 0.01f*scale.<a class="code" href="classPxTolerancesScale.html#a7d93bf20de0e5b54783eda5bb64effeb">length</a> : contactDist; </div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    }</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classPxJointLinearLimit.html#a9dd93c344c5ae91752ff365fb069728e">  205</a></span>&#160;    <a class="code" href="classPxJointLinearLimit.html#a9dd93c344c5ae91752ff365fb069728e">PxJointLinearLimit</a>(<a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> extent, <span class="keyword">const</span> <a class="code" href="classPxSpring.html">PxSpring</a>&amp; <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>) : value(extent)</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    {</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.stiffness;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.damping;</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    }</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classPxJointLinearLimit.html#a9c5136c51e4d728e579281fcb13af57e">  216</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="classPxJointLinearLimit.html#a9c5136c51e4d728e579281fcb13af57e">isValid</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxJointLimitParameters.html#a8186c20e07fa7f1e06529dce77e06123">PxJointLimitParameters::isValid</a>() &amp;&amp;</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;               <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(value) &amp;&amp; </div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;               value &gt; 0.0f;</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    }</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;};</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="classPxJointLinearLimitPair.html">  228</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxJointLinearLimitPair.html">PxJointLinearLimitPair</a> : <span class="keyword">public</span> <a class="code" href="classPxJointLimitParameters.html">PxJointLimitParameters</a></div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;{</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="comment">//= ATTENTION! =====================================================================================</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span></div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span></div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span></div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="comment">// accordingly.</span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="comment">//==================================================================================================</span></div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="classPxJointLinearLimitPair.html#a247c6737628a515ca5fc8fd139678d25">  244</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLinearLimitPair.html#a247c6737628a515ca5fc8fd139678d25">upper</a>, lower;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classPxJointLinearLimitPair.html#aa0bd4b39e190c58bb7db3d09db37fbe2">  256</a></span>&#160;    <a class="code" href="classPxJointLinearLimitPair.html#aa0bd4b39e190c58bb7db3d09db37fbe2">PxJointLinearLimitPair</a>(<span class="keyword">const</span> <a class="code" href="classPxTolerancesScale.html">PxTolerancesScale</a>&amp; scale, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> lowerLimit = -<a class="code" href="group__foundation.html#ga7539e08056ea09ff1c341b866b7103f4">PX_MAX_F32</a>/3.0f, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> upperLimit = <a class="code" href="group__foundation.html#ga7539e08056ea09ff1c341b866b7103f4">PX_MAX_F32</a>/3.0f, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> contactDist = -1.0f) :</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        upper(upperLimit),</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        lower(lowerLimit)</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    {</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;        <a class="code" href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">PxJointLimitParameters::contactDistance</a> = contactDist == -1.0f ? <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(scale.<a class="code" href="classPxTolerancesScale.html#a7d93bf20de0e5b54783eda5bb64effeb">length</a> * 0.01f, (upperLimit*0.49f-lowerLimit*0.49f)) : contactDist; </div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;        bounceThreshold = 2.0f*scale.<a class="code" href="classPxTolerancesScale.html#a7d93bf20de0e5b54783eda5bb64effeb">length</a>;</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    }</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="classPxJointLinearLimitPair.html#a8a95bf4d353436b030e652ef3cb1343b">  273</a></span>&#160;    <a class="code" href="classPxJointLinearLimitPair.html#a8a95bf4d353436b030e652ef3cb1343b">PxJointLinearLimitPair</a>(<a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> lowerLimit, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> upperLimit, <span class="keyword">const</span> <a class="code" href="classPxSpring.html">PxSpring</a>&amp; <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>) :</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        upper(upperLimit),</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;        lower(lowerLimit)</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    {</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.stiffness;</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.damping;</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    }</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="classPxJointLinearLimitPair.html#a665b7dfdfae70094a37dac14cc895fbe">  286</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="classPxJointLinearLimitPair.html#a665b7dfdfae70094a37dac14cc895fbe">isValid</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxJointLimitParameters.html#a8186c20e07fa7f1e06529dce77e06123">PxJointLimitParameters::isValid</a>() &amp;&amp;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;               <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(upper) &amp;&amp; <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(lower) &amp;&amp; upper &gt;= lower &amp;&amp;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;               <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(upper - lower);</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    }</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;};</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div><div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="classPxJointAngularLimitPair.html">  295</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a> : <span class="keyword">public</span> <a class="code" href="classPxJointLimitParameters.html">PxJointLimitParameters</a></div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;{</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="comment">//= ATTENTION! =====================================================================================</span></div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span></div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="comment">// accordingly.</span></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="comment">//==================================================================================================</span></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="classPxJointAngularLimitPair.html#ae346ef11f736245ef7ca8994e6d1492e">  311</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointAngularLimitPair.html#ae346ef11f736245ef7ca8994e6d1492e">upper</a>, lower;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;</div><div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="classPxJointAngularLimitPair.html#af3e4012b8406992540fd3e3d10e448b7">  324</a></span>&#160;    <a class="code" href="classPxJointAngularLimitPair.html#af3e4012b8406992540fd3e3d10e448b7">PxJointAngularLimitPair</a>(<a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> lowerLimit, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> upperLimit, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> contactDist = -1.0f) :</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        upper(upperLimit),</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;        lower(lowerLimit)</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    {</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;        <a class="code" href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">PxJointLimitParameters::contactDistance</a> = contactDist ==-1.0f ? <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(0.1f, 0.49f*(upperLimit-lowerLimit)) : contactDist;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;        bounceThreshold = 0.5f;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    }</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="classPxJointAngularLimitPair.html#a02ae4ad9d22a8d163cfd197669c3c83e">  343</a></span>&#160;    <a class="code" href="classPxJointAngularLimitPair.html#a02ae4ad9d22a8d163cfd197669c3c83e">PxJointAngularLimitPair</a>(<a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> lowerLimit, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> upperLimit, <span class="keyword">const</span> <a class="code" href="classPxSpring.html">PxSpring</a>&amp; <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>) :</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        upper(upperLimit),</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        lower(lowerLimit)</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    {</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.stiffness;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.damping;</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    }</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;</div><div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="classPxJointAngularLimitPair.html#a83701fa70bfdc597074c7acbd03683c7">  356</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="classPxJointAngularLimitPair.html#a83701fa70bfdc597074c7acbd03683c7">isValid</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxJointLimitParameters.html#a8186c20e07fa7f1e06529dce77e06123">PxJointLimitParameters::isValid</a>() &amp;&amp;</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;               <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(upper) &amp;&amp; <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(lower) &amp;&amp; upper &gt;= lower;</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    }</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;};</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div><div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="classPxJointLimitCone.html">  369</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxJointLimitCone.html">PxJointLimitCone</a> : <span class="keyword">public</span> <a class="code" href="classPxJointLimitParameters.html">PxJointLimitParameters</a></div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;{</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;<span class="comment">//= ATTENTION! =====================================================================================</span></div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span></div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;<span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span></div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span></div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<span class="comment">// accordingly.</span></div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="comment">//==================================================================================================</span></div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="classPxJointLimitCone.html#aeac6d3168fe1a6ccca4642a9f19e50a7">  385</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitCone.html#aeac6d3168fe1a6ccca4642a9f19e50a7">yAngle</a>;</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;</div><div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="classPxJointLimitCone.html#af14e3c875ee7f9cf772bafc535af7631">  394</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitCone.html#af14e3c875ee7f9cf772bafc535af7631">zAngle</a>;</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div><div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="classPxJointLimitCone.html#ac942cefe6d9cb042a4e323266d2b29b9">  405</a></span>&#160;    <a class="code" href="classPxJointLimitCone.html#ac942cefe6d9cb042a4e323266d2b29b9">PxJointLimitCone</a>(<a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> yLimitAngle, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> zLimitAngle, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> contactDist = -1.0f) :</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        yAngle(yLimitAngle),</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        zAngle(zLimitAngle)</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;    {</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;        <a class="code" href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">PxJointLimitParameters::contactDistance</a> = contactDist == -1.0f ? <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(0.1f, <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(yLimitAngle, zLimitAngle)*0.49f) : contactDist;</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        bounceThreshold = 0.5f;</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    }</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;</div><div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="classPxJointLimitCone.html#a0bb99b52fb177d263b926938b239aa9c">  422</a></span>&#160;    <a class="code" href="classPxJointLimitCone.html#a0bb99b52fb177d263b926938b239aa9c">PxJointLimitCone</a>(<a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> yLimitAngle, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> zLimitAngle, <span class="keyword">const</span> <a class="code" href="classPxSpring.html">PxSpring</a>&amp; <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>) :</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;        yAngle(yLimitAngle),</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;        zAngle(zLimitAngle)</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    {</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.stiffness;</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.damping;</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;    }</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div><div class="line"><a name="l00435"></a><span class="lineno"><a class="line" href="classPxJointLimitCone.html#a122b0e940c3ec2227e856ffe51ca7c2e">  435</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="classPxJointLimitCone.html#a122b0e940c3ec2227e856ffe51ca7c2e">isValid</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxJointLimitParameters.html#a8186c20e07fa7f1e06529dce77e06123">PxJointLimitParameters::isValid</a>() &amp;&amp;</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;               <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(yAngle) &amp;&amp; yAngle&gt;0 &amp;&amp; yAngle&lt;<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; </div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;               <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(zAngle) &amp;&amp; zAngle&gt;0 &amp;&amp; zAngle&lt;<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a>;</div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;    }</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;};</div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;</div><div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="classPxJointLimitPyramid.html">  448</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxJointLimitPyramid.html">PxJointLimitPyramid</a> : <span class="keyword">public</span> <a class="code" href="classPxJointLimitParameters.html">PxJointLimitParameters</a></div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;{</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="comment">//= ATTENTION! =====================================================================================</span></div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;<span class="comment">// Changing the data layout of this class breaks the binary serialization format.  See comments for </span></div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;<span class="comment">// PX_BINARY_SERIAL_VERSION.  If a modification is required, please adjust the getBinaryMetaData </span></div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;<span class="comment">// function.  If the modification is made on a custom branch, please change PX_BINARY_SERIAL_VERSION</span></div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;<span class="comment">// accordingly.</span></div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;<span class="comment">//==================================================================================================</span></div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="classPxJointLimitPyramid.html#a7ff363ed21fc22b89cbd4fad2942f701">  464</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitPyramid.html#a7ff363ed21fc22b89cbd4fad2942f701">yAngleMin</a>;</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div><div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="classPxJointLimitPyramid.html#a1725d88e6de0593f10476126ff4d1169">  473</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitPyramid.html#a1725d88e6de0593f10476126ff4d1169">yAngleMax</a>;</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;</div><div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="classPxJointLimitPyramid.html#a9fefb33877518ecc113337821b425283">  482</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitPyramid.html#a9fefb33877518ecc113337821b425283">zAngleMin</a>;</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;</div><div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="classPxJointLimitPyramid.html#a3a901c41f09d0b9a414c7750d4e6ddf0">  491</a></span>&#160;    <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> <a class="code" href="classPxJointLimitPyramid.html#a3a901c41f09d0b9a414c7750d4e6ddf0">zAngleMax</a>;</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;</div><div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="classPxJointLimitPyramid.html#a8d5ade74561038fc3d2d2f5cf577403f">  504</a></span>&#160;    <a class="code" href="classPxJointLimitPyramid.html#a8d5ade74561038fc3d2d2f5cf577403f">PxJointLimitPyramid</a>(<a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> yLimitAngleMin, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> yLimitAngleMax, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> zLimitAngleMin, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> zLimitAngleMax, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> contactDist = -1.0f) :</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;        yAngleMin(yLimitAngleMin),</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;        yAngleMax(yLimitAngleMax),</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;        zAngleMin(zLimitAngleMin),</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;        zAngleMax(zLimitAngleMax)</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    {</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;        <span class="keywordflow">if</span>(contactDist == -1.0f)</div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;        {</div><div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;            <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> contactDistY = <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(0.1f, 0.49f*(yLimitAngleMax - yLimitAngleMin));</div><div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;            <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> contactDistZ = <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(0.1f, 0.49f*(zLimitAngleMax - zLimitAngleMin));</div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;            <a class="code" href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">PxJointLimitParameters::contactDistance</a> = contactDist == <a class="code" href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a>(contactDistY, contactDistZ);</div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;        }</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;        <span class="keywordflow">else</span></div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        {</div><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;            <a class="code" href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">PxJointLimitParameters::contactDistance</a> = contactDist;</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;        }</div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;</div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;        bounceThreshold = 0.5f;</div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;    }</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;</div><div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="classPxJointLimitPyramid.html#a10b56aaa4955a782c37cebcffe55556a">  535</a></span>&#160;    <a class="code" href="classPxJointLimitPyramid.html#a10b56aaa4955a782c37cebcffe55556a">PxJointLimitPyramid</a>(<a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> yLimitAngleMin, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> yLimitAngleMax, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> zLimitAngleMin, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> zLimitAngleMax, <span class="keyword">const</span> <a class="code" href="classPxSpring.html">PxSpring</a>&amp; <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>) :</div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;        yAngleMin(yLimitAngleMin),</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;        yAngleMax(yLimitAngleMax),</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;        zAngleMin(zLimitAngleMin),</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;        zAngleMax(zLimitAngleMax)</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;    {</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.stiffness;</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;        <a class="code" href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a> = <a class="code" href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a>.damping;</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    }</div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;</div><div class="line"><a name="l00550"></a><span class="lineno"><a class="line" href="classPxJointLimitPyramid.html#a954093c7856b3c46cb4a7d0d848c4240">  550</a></span>&#160;    <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="classPxJointLimitPyramid.html#a954093c7856b3c46cb4a7d0d848c4240">isValid</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxJointLimitParameters.html#a8186c20e07fa7f1e06529dce77e06123">PxJointLimitParameters::isValid</a>() &amp;&amp;</div><div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;                <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(yAngleMin) &amp;&amp; yAngleMin&gt;-<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; yAngleMin&lt;<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; </div><div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;                <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(yAngleMax) &amp;&amp; yAngleMax&gt;-<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; yAngleMax&lt;<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; </div><div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;                <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(zAngleMin) &amp;&amp; zAngleMin&gt;-<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; zAngleMin&lt;<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; </div><div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;                <a class="code" href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a>(zAngleMax) &amp;&amp; zAngleMax&gt;-<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; zAngleMax&lt;<a class="code" href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a> &amp;&amp; </div><div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;                yAngleMax&gt;=yAngleMin &amp;&amp; zAngleMax&gt;=zAngleMin;</div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;    }</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;};</div><div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;</div><div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;} <span class="comment">// namespace physx</span></div><div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;</div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespacephysx_html"><div class="ttname"><a href="namespacephysx.html">physx</a></div><div class="ttdef"><b>Definition:</b> GuContactBuffer.h:37</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_a8186c20e07fa7f1e06529dce77e06123"><div class="ttname"><a href="classPxJointLimitParameters.html#a8186c20e07fa7f1e06529dce77e06123">PxJointLimitParameters::isValid</a></div><div class="ttdeci">PX_INLINE bool isValid() const</div><div class="ttdoc">Returns true if the current settings are valid. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:143</div></div>
<div class="ttc" id="classPxJointLimitCone_html_a0bb99b52fb177d263b926938b239aa9c"><div class="ttname"><a href="classPxJointLimitCone.html#a0bb99b52fb177d263b926938b239aa9c">PxJointLimitCone::PxJointLimitCone</a></div><div class="ttdeci">PxJointLimitCone(PxReal yLimitAngle, PxReal zLimitAngle, const PxSpring &amp;spring)</div><div class="ttdoc">Construct a cone soft limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:422</div></div>
<div class="ttc" id="classPxJointLimitPyramid_html_a8d5ade74561038fc3d2d2f5cf577403f"><div class="ttname"><a href="classPxJointLimitPyramid.html#a8d5ade74561038fc3d2d2f5cf577403f">PxJointLimitPyramid::PxJointLimitPyramid</a></div><div class="ttdeci">PxJointLimitPyramid(PxReal yLimitAngleMin, PxReal yLimitAngleMax, PxReal zLimitAngleMin, PxReal zLimitAngleMax, PxReal contactDist=-1.0f)</div><div class="ttdoc">Construct a pyramid hard limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:504</div></div>
<div class="ttc" id="classPxJointLinearLimitPair_html_aa0bd4b39e190c58bb7db3d09db37fbe2"><div class="ttname"><a href="classPxJointLinearLimitPair.html#aa0bd4b39e190c58bb7db3d09db37fbe2">PxJointLinearLimitPair::PxJointLinearLimitPair</a></div><div class="ttdeci">PxJointLinearLimitPair(const PxTolerancesScale &amp;scale, PxReal lowerLimit=-PX_MAX_F32/3.0f, PxReal upperLimit=PX_MAX_F32/3.0f, PxReal contactDist=-1.0f)</div><div class="ttdoc">Construct a linear hard limit pair. The lower distance value must be less than the upper distance val...</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:256</div></div>
<div class="ttc" id="classPxJointLimitPyramid_html_a1725d88e6de0593f10476126ff4d1169"><div class="ttname"><a href="classPxJointLimitPyramid.html#a1725d88e6de0593f10476126ff4d1169">PxJointLimitPyramid::yAngleMax</a></div><div class="ttdeci">PxReal yAngleMax</div><div class="ttdoc">the maximum angle from the Y axis of the constraint frame. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:473</div></div>
<div class="ttc" id="classPxJointLimitPyramid_html_a9fefb33877518ecc113337821b425283"><div class="ttname"><a href="classPxJointLimitPyramid.html#a9fefb33877518ecc113337821b425283">PxJointLimitPyramid::zAngleMin</a></div><div class="ttdeci">PxReal zAngleMin</div><div class="ttdoc">the minimum angle from the Z-axis of the constraint frame. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:482</div></div>
<div class="ttc" id="classPxJointLinearLimitPair_html_a665b7dfdfae70094a37dac14cc895fbe"><div class="ttname"><a href="classPxJointLinearLimitPair.html#a665b7dfdfae70094a37dac14cc895fbe">PxJointLinearLimitPair::isValid</a></div><div class="ttdeci">PX_INLINE bool isValid() const</div><div class="ttdoc">Returns true if the limit is valid. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:286</div></div>
<div class="ttc" id="PxConstraintDesc_8h_html_a18b2ce476648ae63ac21250c88cb0189"><div class="ttname"><a href="PxConstraintDesc_8h.html#a18b2ce476648ae63ac21250c88cb0189">restitution</a></div><div class="ttdeci">PxReal restitution</div><div class="ttdoc">restitution parameter for determining additional &quot;bounce&quot; </div><div class="ttdef"><b>Definition:</b> PxConstraintDesc.h:104</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_a82e6ed96bd05d01b7459d8200f16df9f"><div class="ttname"><a href="classPxJointLimitParameters.html#a82e6ed96bd05d01b7459d8200f16df9f">PxJointLimitParameters::bounceThreshold</a></div><div class="ttdeci">PxReal bounceThreshold</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:85</div></div>
<div class="ttc" id="group__foundation_html_gabcd49a429b8119de54375b3538ae8a8d"><div class="ttname"><a href="group__foundation.html#gabcd49a429b8119de54375b3538ae8a8d">PxPi</a></div><div class="ttdeci">static const float PxPi</div><div class="ttdef"><b>Definition:</b> PxMath.h:58</div></div>
<div class="ttc" id="classPxJointLimitPyramid_html_a10b56aaa4955a782c37cebcffe55556a"><div class="ttname"><a href="classPxJointLimitPyramid.html#a10b56aaa4955a782c37cebcffe55556a">PxJointLimitPyramid::PxJointLimitPyramid</a></div><div class="ttdeci">PxJointLimitPyramid(PxReal yLimitAngleMin, PxReal yLimitAngleMax, PxReal zLimitAngleMin, PxReal zLimitAngleMax, const PxSpring &amp;spring)</div><div class="ttdoc">Construct a pyramid soft limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:535</div></div>
<div class="ttc" id="namespacephysx_html_a727d2d8426e2a21ebbc522fa65c3f97a"><div class="ttname"><a href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">physx::PxReal</a></div><div class="ttdeci">float PxReal</div><div class="ttdef"><b>Definition:</b> PxSimpleTypes.h:78</div></div>
<div class="ttc" id="PxConstraintDesc_8h_html_ab545718d2685b45ef4df86c181ca0baa"><div class="ttname"><a href="PxConstraintDesc_8h.html#ab545718d2685b45ef4df86c181ca0baa">spring</a></div><div class="ttdeci">struct @6::SpringModifiers spring</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_acf208a0f1e54fb8e9219af1e0357d4a9"><div class="ttname"><a href="classPxJointLimitParameters.html#acf208a0f1e54fb8e9219af1e0357d4a9">PxJointLimitParameters::restitution</a></div><div class="ttdeci">PxReal restitution</div><div class="ttdoc">Controls the amount of bounce when the joint hits a limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:80</div></div>
<div class="ttc" id="classPxJointAngularLimitPair_html_af3e4012b8406992540fd3e3d10e448b7"><div class="ttname"><a href="classPxJointAngularLimitPair.html#af3e4012b8406992540fd3e3d10e448b7">PxJointAngularLimitPair::PxJointAngularLimitPair</a></div><div class="ttdeci">PxJointAngularLimitPair(PxReal lowerLimit, PxReal upperLimit, PxReal contactDist=-1.0f)</div><div class="ttdoc">construct an angular hard limit pair. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:324</div></div>
<div class="ttc" id="classPxJointLinearLimit_html"><div class="ttname"><a href="classPxJointLinearLimit.html">PxJointLinearLimit</a></div><div class="ttdoc">Describes a one-sided linear limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:165</div></div>
<div class="ttc" id="classPxJointLinearLimit_html_a9dd93c344c5ae91752ff365fb069728e"><div class="ttname"><a href="classPxJointLinearLimit.html#a9dd93c344c5ae91752ff365fb069728e">PxJointLinearLimit::PxJointLinearLimit</a></div><div class="ttdeci">PxJointLinearLimit(PxReal extent, const PxSpring &amp;spring)</div><div class="ttdoc">construct a linear soft limit </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:205</div></div>
<div class="ttc" id="classPxJointAngularLimitPair_html_a83701fa70bfdc597074c7acbd03683c7"><div class="ttname"><a href="classPxJointAngularLimitPair.html#a83701fa70bfdc597074c7acbd03683c7">PxJointAngularLimitPair::isValid</a></div><div class="ttdeci">PX_INLINE bool isValid() const</div><div class="ttdoc">Returns true if the limit is valid. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:356</div></div>
<div class="ttc" id="classPxJointLimitCone_html_ac942cefe6d9cb042a4e323266d2b29b9"><div class="ttname"><a href="classPxJointLimitCone.html#ac942cefe6d9cb042a4e323266d2b29b9">PxJointLimitCone::PxJointLimitCone</a></div><div class="ttdeci">PxJointLimitCone(PxReal yLimitAngle, PxReal zLimitAngle, PxReal contactDist=-1.0f)</div><div class="ttdoc">Construct a cone hard limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:405</div></div>
<div class="ttc" id="PxPhysXConfig_8h_html"><div class="ttname"><a href="PxPhysXConfig_8h.html">PxPhysXConfig.h</a></div></div>
<div class="ttc" id="classPxJointLimitParameters_html"><div class="ttname"><a href="classPxJointLimitParameters.html">PxJointLimitParameters</a></div><div class="ttdoc">Describes the parameters for a joint limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:52</div></div>
<div class="ttc" id="PxConstraintDesc_8h_html_a9cf8670b7dde57314a7d3cfc5799c277"><div class="ttname"><a href="PxConstraintDesc_8h.html#a9cf8670b7dde57314a7d3cfc5799c277">stiffness</a></div><div class="ttdeci">PxReal stiffness</div><div class="ttdoc">spring parameter, for spring constraints </div><div class="ttdef"><b>Definition:</b> PxConstraintDesc.h:99</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_af68daaa7495377cabc01d27d3c2e864e"><div class="ttname"><a href="classPxJointLimitParameters.html#af68daaa7495377cabc01d27d3c2e864e">PxJointLimitParameters::~PxJointLimitParameters</a></div><div class="ttdeci">~PxJointLimitParameters()</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:158</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_af340f6b7f344746a21834fca6ba6eb46"><div class="ttname"><a href="classPxJointLimitParameters.html#af340f6b7f344746a21834fca6ba6eb46">PxJointLimitParameters::isSoft</a></div><div class="ttdeci">PX_INLINE bool isSoft() const</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:152</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_a055ad82eede514226e33be0e1a72f87c"><div class="ttname"><a href="classPxJointLimitParameters.html#a055ad82eede514226e33be0e1a72f87c">PxJointLimitParameters::PxJointLimitParameters</a></div><div class="ttdeci">PxJointLimitParameters(const PxJointLimitParameters &amp;p)</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:129</div></div>
<div class="ttc" id="classPxJointAngularLimitPair_html"><div class="ttname"><a href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a></div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:295</div></div>
<div class="ttc" id="group__foundation_html_ga19ecbe58dd6039373c15c8452550bd07"><div class="ttname"><a href="group__foundation.html#ga19ecbe58dd6039373c15c8452550bd07">PxMin</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE T PxMin(T a, T b)</div><div class="ttdoc">The return value is the lesser of the two specified values. </div><div class="ttdef"><b>Definition:</b> PxMath.h:86</div></div>
<div class="ttc" id="classPxJointLinearLimitPair_html_a247c6737628a515ca5fc8fd139678d25"><div class="ttname"><a href="classPxJointLinearLimitPair.html#a247c6737628a515ca5fc8fd139678d25">PxJointLinearLimitPair::upper</a></div><div class="ttdeci">PxReal upper</div><div class="ttdoc">the range of the limit. The upper limit must be no lower than the lower limit, and if they are equal ...</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:244</div></div>
<div class="ttc" id="classPxJointLimitPyramid_html"><div class="ttname"><a href="classPxJointLimitPyramid.html">PxJointLimitPyramid</a></div><div class="ttdoc">Describes a pyramidal joint limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:448</div></div>
<div class="ttc" id="classPxJointLinearLimitPair_html"><div class="ttname"><a href="classPxJointLinearLimitPair.html">PxJointLinearLimitPair</a></div><div class="ttdoc">Describes a two-sided limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:228</div></div>
<div class="ttc" id="classPxSpring_html"><div class="ttname"><a href="classPxSpring.html">PxSpring</a></div><div class="ttdef"><b>Definition:</b> PxJoint.h:381</div></div>
<div class="ttc" id="group__foundation_html_ga7539e08056ea09ff1c341b866b7103f4"><div class="ttname"><a href="group__foundation.html#ga7539e08056ea09ff1c341b866b7103f4">PX_MAX_F32</a></div><div class="ttdeci">#define PX_MAX_F32</div><div class="ttdef"><b>Definition:</b> PxSimpleTypes.h:86</div></div>
<div class="ttc" id="PxConstraintDesc_8h_html_adc081240b94af5fc9f010e0583263581"><div class="ttname"><a href="PxConstraintDesc_8h.html#adc081240b94af5fc9f010e0583263581">damping</a></div><div class="ttdeci">PxReal damping</div><div class="ttdoc">damping parameter, for spring constraints </div><div class="ttdef"><b>Definition:</b> PxConstraintDesc.h:100</div></div>
<div class="ttc" id="classPxTolerancesScale_html_a7d93bf20de0e5b54783eda5bb64effeb"><div class="ttname"><a href="classPxTolerancesScale.html#a7d93bf20de0e5b54783eda5bb64effeb">PxTolerancesScale::length</a></div><div class="ttdeci">PxReal length</div><div class="ttdef"><b>Definition:</b> PxTolerancesScale.h:67</div></div>
<div class="ttc" id="classPxJointAngularLimitPair_html_a02ae4ad9d22a8d163cfd197669c3c83e"><div class="ttname"><a href="classPxJointAngularLimitPair.html#a02ae4ad9d22a8d163cfd197669c3c83e">PxJointAngularLimitPair::PxJointAngularLimitPair</a></div><div class="ttdeci">PxJointAngularLimitPair(PxReal lowerLimit, PxReal upperLimit, const PxSpring &amp;spring)</div><div class="ttdoc">construct an angular soft limit pair. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:343</div></div>
<div class="ttc" id="classPxTolerancesScale_html"><div class="ttname"><a href="classPxTolerancesScale.html">PxTolerancesScale</a></div><div class="ttdoc">Class to define the scale at which simulation runs. Most simulation tolerances are calculated in term...</div><div class="ttdef"><b>Definition:</b> PxTolerancesScale.h:56</div></div>
<div class="ttc" id="classPxJointLinearLimit_html_a84aaf9ff6f11ab92790a6081feced4dc"><div class="ttname"><a href="classPxJointLinearLimit.html#a84aaf9ff6f11ab92790a6081feced4dc">PxJointLinearLimit::PxJointLinearLimit</a></div><div class="ttdeci">PxJointLinearLimit(const PxTolerancesScale &amp;scale, PxReal extent, PxReal contactDist=-1.0f)</div><div class="ttdoc">construct a linear hard limit </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:191</div></div>
<div class="ttc" id="PxJoint_8h_html"><div class="ttname"><a href="PxJoint_8h.html">PxJoint.h</a></div></div>
<div class="ttc" id="classPxJointLimitParameters_html_adc405245761d0b153f490ec1dd65af78"><div class="ttname"><a href="classPxJointLimitParameters.html#adc405245761d0b153f490ec1dd65af78">PxJointLimitParameters::contactDistance</a></div><div class="ttdeci">PxReal contactDistance</div><div class="ttdoc">the distance inside the limit value at which the limit will be considered to be active by the solver...</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:118</div></div>
<div class="ttc" id="PxMath_8h_html"><div class="ttname"><a href="PxMath_8h.html">PxMath.h</a></div></div>
<div class="ttc" id="classPxJointLimitPyramid_html_a3a901c41f09d0b9a414c7750d4e6ddf0"><div class="ttname"><a href="classPxJointLimitPyramid.html#a3a901c41f09d0b9a414c7750d4e6ddf0">PxJointLimitPyramid::zAngleMax</a></div><div class="ttdeci">PxReal zAngleMax</div><div class="ttdoc">the maximum angle from the Z-axis of the constraint frame. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:491</div></div>
<div class="ttc" id="group__foundation_html_gad6de0f4af98c5c5280b8fe695dc87318"><div class="ttname"><a href="group__foundation.html#gad6de0f4af98c5c5280b8fe695dc87318">PxIsFinite</a></div><div class="ttdeci">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxIsFinite(float f)</div><div class="ttdoc">returns true if the passed number is a finite floating point number as opposed to INF...</div><div class="ttdef"><b>Definition:</b> PxMath.h:292</div></div>
<div class="ttc" id="classPxJointLinearLimitPair_html_a8a95bf4d353436b030e652ef3cb1343b"><div class="ttname"><a href="classPxJointLinearLimitPair.html#a8a95bf4d353436b030e652ef3cb1343b">PxJointLinearLimitPair::PxJointLinearLimitPair</a></div><div class="ttdeci">PxJointLinearLimitPair(PxReal lowerLimit, PxReal upperLimit, const PxSpring &amp;spring)</div><div class="ttdoc">construct a linear soft limit pair </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:273</div></div>
<div class="ttc" id="classPxJointLimitCone_html_aeac6d3168fe1a6ccca4642a9f19e50a7"><div class="ttname"><a href="classPxJointLimitCone.html#aeac6d3168fe1a6ccca4642a9f19e50a7">PxJointLimitCone::yAngle</a></div><div class="ttdeci">PxReal yAngle</div><div class="ttdoc">the maximum angle from the Y axis of the constraint frame. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:385</div></div>
<div class="ttc" id="PxTolerancesScale_8h_html"><div class="ttname"><a href="PxTolerancesScale_8h.html">PxTolerancesScale.h</a></div></div>
<div class="ttc" id="classPxJointLimitPyramid_html_a7ff363ed21fc22b89cbd4fad2942f701"><div class="ttname"><a href="classPxJointLimitPyramid.html#a7ff363ed21fc22b89cbd4fad2942f701">PxJointLimitPyramid::yAngleMin</a></div><div class="ttdeci">PxReal yAngleMin</div><div class="ttdoc">the minimum angle from the Y axis of the constraint frame. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:464</div></div>
<div class="ttc" id="classPxJointLimitCone_html"><div class="ttname"><a href="classPxJointLimitCone.html">PxJointLimitCone</a></div><div class="ttdoc">Describes an elliptical conical joint limit. Note that very small or highly elliptical limit cones ma...</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:369</div></div>
<div class="ttc" id="classPxJointLinearLimit_html_a9c5136c51e4d728e579281fcb13af57e"><div class="ttname"><a href="classPxJointLinearLimit.html#a9c5136c51e4d728e579281fcb13af57e">PxJointLinearLimit::isValid</a></div><div class="ttdeci">PX_INLINE bool isValid() const</div><div class="ttdoc">Returns true if the limit is valid. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:216</div></div>
<div class="ttc" id="classPxJointLimitCone_html_af14e3c875ee7f9cf772bafc535af7631"><div class="ttname"><a href="classPxJointLimitCone.html#af14e3c875ee7f9cf772bafc535af7631">PxJointLimitCone::zAngle</a></div><div class="ttdeci">PxReal zAngle</div><div class="ttdoc">the maximum angle from the Z-axis of the constraint frame. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:394</div></div>
<div class="ttc" id="classPxJointLinearLimit_html_aa433e50f27f94ca7191b1251e45f7ed6"><div class="ttname"><a href="classPxJointLinearLimit.html#aa433e50f27f94ca7191b1251e45f7ed6">PxJointLinearLimit::value</a></div><div class="ttdeci">PxReal value</div><div class="ttdoc">the extent of the limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:180</div></div>
<div class="ttc" id="classPxJointAngularLimitPair_html_ae346ef11f736245ef7ca8994e6d1492e"><div class="ttname"><a href="classPxJointAngularLimitPair.html#ae346ef11f736245ef7ca8994e6d1492e">PxJointAngularLimitPair::upper</a></div><div class="ttdeci">PxReal upper</div><div class="ttdoc">the range of the limit. The upper limit must be no lower than the lower limit. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:311</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_ab706ebb59cf473d1537741edfab2c387"><div class="ttname"><a href="classPxJointLimitParameters.html#ab706ebb59cf473d1537741edfab2c387">PxJointLimitParameters::PxJointLimitParameters</a></div><div class="ttdeci">PxJointLimitParameters()</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:120</div></div>
<div class="ttc" id="group__foundation_html_gacb03347b642a2a5bdea1f9b305a6fbec"><div class="ttname"><a href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a></div><div class="ttdeci">#define PX_INLINE</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:336</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_aac6d185cfc3adea24cdb943cf893beac"><div class="ttname"><a href="classPxJointLimitParameters.html#aac6d185cfc3adea24cdb943cf893beac">PxJointLimitParameters::damping</a></div><div class="ttdeci">PxReal damping</div><div class="ttdoc">if spring is greater than zero, this is the damping of the limit spring </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:101</div></div>
<div class="ttc" id="classPxJointLimitCone_html_a122b0e940c3ec2227e856ffe51ca7c2e"><div class="ttname"><a href="classPxJointLimitCone.html#a122b0e940c3ec2227e856ffe51ca7c2e">PxJointLimitCone::isValid</a></div><div class="ttdeci">PX_INLINE bool isValid() const</div><div class="ttdoc">Returns true if the limit is valid. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:435</div></div>
<div class="ttc" id="classPxJointLimitParameters_html_a7431e7b65a92dd7fafc386c6a159a22c"><div class="ttname"><a href="classPxJointLimitParameters.html#a7431e7b65a92dd7fafc386c6a159a22c">PxJointLimitParameters::stiffness</a></div><div class="ttdeci">PxReal stiffness</div><div class="ttdoc">if greater than zero, the limit is soft, i.e. a spring pulls the joint back to the limit ...</div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:93</div></div>
<div class="ttc" id="classPxJointLimitPyramid_html_a954093c7856b3c46cb4a7d0d848c4240"><div class="ttname"><a href="classPxJointLimitPyramid.html#a954093c7856b3c46cb4a7d0d848c4240">PxJointLimitPyramid::isValid</a></div><div class="ttdeci">PX_INLINE bool isValid() const</div><div class="ttdoc">Returns true if the limit is valid. </div><div class="ttdef"><b>Definition:</b> PxJointLimit.h:550</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_713b4d6d20ce249967929ad234a3da6e.html">include</a></li><li class="navelem"><a class="el" href="dir_2526a3f67c1a4a5af3c2555c4f4c1667.html">extensions</a></li><li class="navelem"><a class="el" href="PxJointLimit_8h.html">PxJointLimit.h</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
